
#include <FU68xx_2.h>
#include <Myproject.h>


void EXTI_Init(void)
{
//	ClrBit(P0_OE, P00);  
//	ClrBit(P0_PU, P00); 

  ClrBit(P0_PU, P03); //  
 //  SetBit(P0_PU, P03); 
  ClrBit(P0_OE, P03); //

	IF0	 = 0;								
	IT01 = 0;// 00: rising edge interrupt，01: failing edge interrupt，1x: edge-change mode interrupt
	IT00 = 1;//1;		

	LVSR = 0x18;//0x10;  // p03

	PX01 = 1;
	PX00 = 1;		
	EX0 = 1;		
	EA = 1;								
}